package com.kun.valiant.channel.service;

import com.kun.valiant.channel.domain.Channel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kun.valiant.channel.domain.vo.ChannelVO;
import com.kun.valiant.common.core.domain.AjaxResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fangkun
 * @since 2023-06-01
 */
public interface IChannelService extends IService<Channel> {

    List<Channel> selectChannelList(ChannelVO channelVO);

    AjaxResult addChannel(ChannelVO channelVO);

    AjaxResult editChannel(ChannelVO channelVO);

    boolean removeChannelIds(Long[] channelIds);

    boolean importChannel(List<Channel> channelList, boolean updateSupport);

    AjaxResult channelAnalysisData(ChannelVO channelVO);
}
